dgElements
The dgElements element is the parent element for all data group elements (DataGroupElement) included within a single data group. Its attributes are default values for its child data group elements; default values can be overwritten at the child data group elements. Element contents nested between the dgElements start and end tags define many particulars of a single data group.
This element is:
- Case sensitive
- Required in every CygNet device template file
- Used 1 time per CygNet data group
To learn about how this element relates to other elements in a CygNet device template file, see Device Template File Hierarchy.
Example
|
<ScBlockSet niceName="Scanner Block Setup" canSend="true" uccSend="true" ordLabel="Device" baseOrd="1" maxCnt="8"> <dgElements byteOrder="bigEndian" secLev="4" type="i2"> <ControlFlg desc="Control Flag" regDef="1:00" parmNum="2840"/> <DevNum desc="Device Number" regDef="1:01" parmNum="2841"/> <StrtReg desc="Start Register" regDef="1:02" parmNum="2842"/> <Quant desc="Quantity" regDef="1:03" parmNum="2843"/> <DbaseIdx desc="Dbase Index" regDef="1:04" parmNum="2844"/> </dgElements> <modbusReadBlocks regByteLen="2"> <block1 regOff="-40001" regNum="41184" ordIncrement="05" regCnt="05" funcCode="3"/> </modbusReadBlocks> <modbusWriteBlocks regByteLen="2"> <block1 regOff="-40001" regNum="41184" ordIncrement="05" regCnt="05" funcCode="16"/> </modbusWriteBlocks> </ScBlockSet> |
Attributes
The following table lists and describes attributes generally applicable to this element. However, not all of the attributes listed here are applicable to all EIEs. Additionally, some attributes are required for use in every device template file of a certain EIE, but others may be used on a case-by-case or device-by-device basis, depending on your specific needs. All attributes in templates are case sensitive; but the case sensitivity of attribute values is based on context.
Note: Occasionally, device template files for different EIEs use attributes of the same name that do different things. Efforts are made in this document to highlight cases where an attribute by one name does different things in different EIEs.
| Attribute | Description |
|---|---|
|
many |
See DataGroupElement for a list of applicable attributes. |


